# Explain
message("using Find${PROJECT_NAME}.cmake find")

# Find LIBINI_INCLUDE
	find_path(LIBINI_INCLUDE ${PROJECT_NAME}/ ${CMAKE_INSTALL_PREFIX}/include/)

# Find LIBINI_LIBRARY
if (WIN32)
	find_path(LIBINI_LIBRARY ${PROJECT_NAME}.lib ${CMAKE_INSTALL_PREFIX}/lib/)
elseif (MINGW)
	find_path(LIBINI_LIBRARY ${PROJECT_NAME}.dll.a ${CMAKE_INSTALL_PREFIX}/lib/)
elseif (APPLE)
	find_path(LIBINI_LIBRARY lib${PROJECT_NAME}.dylib ${CMAKE_INSTALL_PREFIX}/lib/)
elseif (UNIX)
	find_path(LIBINI_LIBRARY lib${PROJECT_NAME}.so ${CMAKE_INSTALL_PREFIX}/lib/)
endif ()

# Setting
if(LIBINI_INCLUDE AND LIBINI_LIBRARY)
	set(LIBINI_FOUND TRUE)
endif()
